My contributions to TidyTuesdays

Horror movies, 2019 week 43

Link to R-Pub above, see folder for code and more.

For my first tidy Tuesday, I explored the dataset of horror movies. I’m not a huge horror fan, but when I saw location data, I knew what I would do: practice my mapping! Even though I didn’t use it, changing the strings of genres to indicator functions was also good practice.

Horror movie filming location in each country from 2012 to 2017

<<<<<<< HEAD ======= >>>>>>> 82e2ab88a30ada6280cadf6051372f23d1157e2f

Horror movies released by country from 2012 to 2017

<<<<<<< HEAD ======= >>>>>>> 82e2ab88a30ada6280cadf6051372f23d1157e2f

Horror movie ratings by country from 2012 to 2017

<<<<<<< HEAD ======= >>>>>>> 82e2ab88a30ada6280cadf6051372f23d1157e2f

SQUIRREL!! 2019 week 44

Link to R-Pub above, see folder for code and more.

This tidy tuesday explores the squirrel census! Obviously, the data needed to be mapped, so I took the opportunity to try to learn a little Leaflet.

The first map shows all squirrels with given distance above ground at which they were sighted. NA’s were filtered out. According to the data dictionary, fields were populated with a value of “FALSE” if the squirrel was on the ground plane so these values were changed to zeros. This map is mostly filled with dark blue, the color of ground-dwelling squirrels.

All squirrels

<<<<<<< HEAD ======= >>>>>>> 82e2ab88a30ada6280cadf6051372f23d1157e2f

Heights below 50, and above ground level

<<<<<<< HEAD ======= >>>>>>> 82e2ab88a30ada6280cadf6051372f23d1157e2f

Heights above 50

<<<<<<< HEAD ======= >>>>>>> 82e2ab88a30ada6280cadf6051372f23d1157e2f